package com.ushier.shop.fruits.vo;

import com.ushier.shop.fruits.bean.Order;

import java.text.SimpleDateFormat;

public class OrderVO extends Order {

    private String userName;

    public String getDateStr(){
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(super.getCreateTime());
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
